<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'realty_id'); ?>
		<?php echo $form->textField($model,'realty_id',array('size'=>10,'maxlength'=>10)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'dt_start'); ?>
		<?php echo $form->textField($model,'dt_start'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'dt_add'); ?>
		<?php echo $form->textField($model,'dt_add'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'type_realty'); ?>
		<?php echo $form->textField($model,'type_realty'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'city_id'); ?>
		<?php echo $form->textField($model,'city_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'district_id'); ?>
		<?php echo $form->textField($model,'district_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cost'); ?>
		<?php echo $form->textField($model,'cost'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'furniture'); ?>
		<?php echo $form->textField($model,'furniture',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'cooperation'); ?>
		<?php echo $form->textField($model,'cooperation',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'call_status'); ?>
		<?php echo $form->textField($model,'call_status',array('size'=>20,'maxlength'=>20)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'last_call'); ?>
		<?php echo $form->textField($model,'last_call'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'subscribe_advert'); ?>
		<?php echo $form->textField($model,'subscribe_advert',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'repair'); ?>
		<?php echo $form->textField($model,'repair'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'phone'); ?>
		<?php echo $form->textField($model,'phone',array('size'=>12,'maxlength'=>12)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'take'); ?>
		<?php echo $form->textField($model,'take',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'take_dt'); ?>
		<?php echo $form->textField($model,'take_dt'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'demo'); ?>
		<?php echo $form->textField($model,'demo',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'demo_dt'); ?>
		<?php echo $form->textField($model,'demo_dt'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'daily'); ?>
		<?php echo $form->textField($model,'daily',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'send_count'); ?>
		<?php echo $form->textField($model,'send_count'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'fordeleting'); ?>
		<?php echo $form->textField($model,'fordeleting',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'status'); ?>
		<?php echo $form->textField($model,'status',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'agency'); ?>
		<?php echo $form->textField($model,'agency',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'reserve'); ?>
		<?php echo $form->textField($model,'reserve',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'reserve_dt'); ?>
		<?php echo $form->textField($model,'reserve_dt'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'site_status'); ?>
		<?php echo $form->textField($model,'site_status',array('size'=>1,'maxlength'=>1)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'last_user_id'); ?>
		<?php echo $form->textField($model,'last_user_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'last_change_dt'); ?>
		<?php echo $form->textField($model,'last_change_dt'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'country'); ?>
		<?php echo $form->textField($model,'country'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->